*{
    margin: 0;
    padding: 0;
}

body,html{
    width: 100%;
    height: 100%;
}
.nav-box{
    width: 200px;
    background: rgb(50, 65, 87);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    padding-top: 40px;
}
.nav-box ul{
    list-style: none;
    line-height: 50px;
    font-size: 14px;
    color: #ddd;
}
.nav-box ul .nav-block{
    padding-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    position: relative;
    font-size:20px;
    padding-top: 10px;
    margin-top: 20px;
}
.nav-box ul .nav-block:hover{
    color: #fff;
    background: rgb(40, 52, 70);
}
.nav-box ul li i{
    display: inline-block;
    width: 40px;
    height: 40px;
}
.nav-two li a:link{
    color: #fff;

}
.nav-block a:link{
    color: #fff;
    }
.nav-box ul li i.arrow{
    position: absolute;
    top: 5px;
    right: 5px;
}


.nav-box .nav-block.on i.arrow{
    transform: rotate(0deg);
}
.nav-box .nav-two{
    display: block;
    width: 100%;
    font-size: 13px;
    line-height: 45px;
    display: none;
}
.nav-block.on+ul.nav-two{
    display: block;
}
.nav-box .nav-two li{

    padding-left: 38px;
    cursor: pointer;
}
.nav-box .nav-two li:hover{
    background: rgb(40, 52, 70);
}
.header{
    border: solid 1px black;
    width: 1800px;
    height: 60px;
    background: green;
    
}
.header h1{
    text-align: center ;
    font-size: 50px;
    font-family: 隶书;
    letter-spacing: 20px;
    position: relative;
}
.return {
    width:600 px;
    height: 30px;
    position: absolute;
    top: 20px;
    left: 1550px;
    font-size: 30px;
}
.return a{
    text-decoration: none;
}    
:root {
    --primary: #2563eb;
    --secondary: #64748b;
    --background: #ffffff;
    --border: #e2e8f0;
    --hover-bg: #f8fafc;
}
/* 筛选控件样式 */
.filter-controls {
    
    background: var(--background);
    padding: 1rem;
    margin-bottom: 2px;;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.state{
    margin-left: 200px;
    font-size: 20px;
}
#statusFilter {
    margin-left:20px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    background: var(--background);
    cursor: pointer;
    min-width: 300px;
    height:40px;
    font-size: 15px;
    letter-spacing: 10px;
}
#searchInput{
    margin-left: 30px;
    width: 200px;
    height: 40px;
    font-size: 15px;
}
/* 状态标签 */
.status-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}
.status-open { background: #dcfce7; color: #166534; }
.status-paused { background: #fef3c7; color: #854d0e; }
.status-closed { background: #fee2e2; color: #991b1b; }
/* 表格样式 */
.jobs-container {
    margin-top: 20px;
    margin-left: 230px;
    background: var(--background);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    width: 1450px;
}
.jobs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 800px;
}
.jobs-table th,
.jobs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.jobs-table th {
    background: var(--hover-bg);
    font-weight: 600;
    color: #1e293b;
}
.jobs-table tr:hover {
    background: var(--hover-bg);
}
/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}
.btn {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}
.btn-detail {
    background: #e2e8f0;
    color: #1e293b;
}
.btn-detail:hover {
    background: #cbd5e1;
}
.btn-apply {
    background: var(--primary);
    color: white;
}
.btn-apply:hover {
    background: #1d4ed8;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .filter-controls {
        flex-direction: column;
    }
    .jobs-table thead {
        display: none;
    }
    .jobs-table tr {
        display: block;
        padding: 1rem;
        border-bottom: 2px solid var(--border);
    }
    .jobs-table td {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 1rem;
        border: none;
    }
    .jobs-table td::before {
        content: attr(data-label);
        color: var(--secondary);
        font-weight: 500;
        margin-right: 1rem;
    }
    .action-buttons {
        justify-content: flex-end;
    }
}
/* 筛选过渡动画 */
.jobs-table tr {
    transition: all 0.3s ease;
    opacity: 1;
    max-height: 100px;
    overflow: hidden;
}
tr[hidden] {
    opacity: 0;
    max-height: 0;
    transition: all 0.3s ease;
}